Handle case where we are testing a commit and not a PR.