bugfix; if branch is not a pull request we received a nullref exception