Not all get repositories have .git at the end

Gerrit repos specifically. Dropping the (.git)
match pattern fixes the issue.