repo git: Report unknown host as authentication error. Closes #1542