[master 1/2] Fix issues with fetching pull requests.