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

Fixes the following error when using `accept_hostkey=yes` in the git module:
```
failed to add git@github.com hostkey: getaddrinfo git@github.com: Name or service not known
```