Accept repo urls that don't have '.git' extension

Remote urls may not have `.git` extension.