Revert to @mislav's solution to get base branch for pull request

As discussed https://github.com/github/hub/pull/646/files#r19065050,
we'd need to defend against getting base branch and tracking branch when
generating diff.
Merge pull request #648 from github/revert_pr_base_branch

Revert to @mislav's solution to get base branch for pull request