Fix git-browse command for github.io repos

Before the string substitution would see a `.git` and strip it out of
the name. This makes that substitution more strict.