Fixes deprecated method call

The code was using a way of calling pull_requests on Octokit that had
became deprecated.

Fixes #32