Check for pr_repo defined