Match both git@ and https: paths for git repos