git-remote: reject adding remotes with invalid names