get PRs from whatever remote branch current local branch is tracking

I had a problem trying to look up a commit that was merged into a non master branch, hence this change. I suppose this might be a very specific problem, but who knows, people do crazy things all over the place!