Fix Travis pull request logic