createPullRequest repeated what openComparison does: authorize the base, resolve the head, materialize both sides, resolve both branches and find the merge base. It now calls it and checks for the same branch afterwards; a request for a missing branch to itself now reports the missing branch rather than the same-branch error.