PullRequestsGetter in contributor_history.py improved