Bugfix: issue when specifying an invalid FTP hostname