A repo does not need pushes before it will be repo-checked. There are
other sources where commits can come from (e.g. import or webIDE).
In the test I made the method of breaking a repo more robust. And
added a few test examples.
See also gitlab-org/gitlab-ce#45046.