defunkt/hub — Issue #122: Enterprise: git fork: bad URI
Author: HighwayofLife
Created: 2011-12-21 23:51:18+00:00
State: open

Steps to reproduce:
```
$ GITHUB_HOST=github.enterprise.com git clone org/repo
Cloning into 'repo' ...
...
$ cd repo; git fork
```
Produces the following error...
```
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/uri/common.rb:436:in `split': bad URI(is not URI?): https://github.enterprise.com/api/v2/yaml/repos/show/highwayoflife/Bones (URI::InvalidURIError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/uri/common.rb:485:in `parse'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/uri/common.rb:608:in `URI'
from /usr/local/bin/hub:1305:in `http_request'
from /usr/local/bin/hub:1225:in `repo_exists?'
from /usr/local/bin/hub:874:in `fork'
from /usr/local/bin/hub:603:in `send'
from /usr/local/bin/hub:603:in `run'
from /usr/local/bin/hub:1443:in `initialize'
from /usr/local/bin/hub:1447:in `new'
from /usr/local/bin/hub:1447:in `execute'
from /usr/local/bin/hub:1496
```