Merge pull request #2238 from libgit2/cmn/upstream-for-unborn Handle an upstream branch for an unborn one