Fix GH commit status path and how non-open PRs are evaluated

Merged Martin Lowe requested to merge malowe/git-eca-rest-api:malowe/main/113-2 into main

Previously, empty and non-open PRs from Github would be evaluated in such a way to look valid when there is no commit data to evaluate. This is inaccurate as we should instead throw or indicate that the PR is closed.

Merge request reports