fix for urls like ssh://git@github.com/ansible/ansible.git
Merge pull request #7789 from mattjbray/fix-get-fqdn

fix for repo urls like ssh://git@github.com/ansible/ansible.git