Quick hack to handle Gerrit remotes with /r in the path.