Fix empty ssh_config crashing resolve_hostname