Allow repos without .git in url

Allow urls without .git (E.G https://github.com/gushphp/gush.git vs https://github.com/gushphp/gush) in the `getVendorName` and `getRepoName` methods