get_upstream_meta() fails for hg

Then, in release.py the call to get_upstream_meta() fails  because it
uses a get_current_branch() call which calls git. The checked out code
is hg, so git fails.