Fix PullRequest cache

* Made ApplicationScope so the store survive
* Check for the target repo, not source