Correct presence of mandatory repository or issues

Use case: some old issue-events have a "issue" field but set to None...