Only strip ".git" from repo-name

Before this fix, checking out:
    git://github.com/gittip/www.gittip.com.git
repo-name would return "www". With this fix,
repo-name returns "www.gittip.com"