Fix failing completion tests due to feature leak from master

`ci-status` and new API for `pull-request` are only available on master,
but accidentally got cherry-picked here and broke the build.