fix lookup of existing pull request