Allow dot in repo name

`tianon/test.bad` is a valide name, therefore
`library/test.bad` is a valide name, therefore
`test.bad` should be a valide name.

See #5103 for more information.