Fix filtering the repository name when using git://