Hi Jaime,
seems that is a bug that I've introduced with the patch for issue Prefer port from environment · Issue #17. Please re-open the issue at GitHub add a description and I try to reproduce under windows. On Mac OS I had no problem.
Best regards
Gregor