Avoid exception when not on a pull request