correctly handle previously non-successful pull requests