Allow non-github repositories with `npm repo`

Currently, if the repository url is not a github url, it shows and error `no repository: could not get url`

This would be awesome for me due to a requirement of an on premise git server.  I did not include any tests because I figured that tests that opened a browser would be problematic?