Fix ensuring the list of branches on the new PR page matches the repo
Before this commit, the list of branches shown in the drop-down for the
branch from in the new PR page was the list of branches of the target
repo instead of being the list of branches for the destination repo.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>