License suggestion mistakenly truncates repository name when it contains ".git" (which is common in repositories for .github.io websites).
For example, if an user inputs repository urls like "https://github.com/octocat/octocat.github.io", license suggestion will falsely split url at the middle of repo name, drop ".github.io" and return the result of "octocat/octocat".
