Fix regex to handle repo urls with 'git' in them