Sorry for being unclear: I meant something like

```
if (repository == null) {
    // log warning as now, then:
    continue;
}
```

Similar effect to what you have, but it allows `looselyMatches` to require non-null arguments (could even `@javax.annotation.Nonnull` for FindBugs & human readers), and makes it clearer that in this case we are skipping the rest of the check. The current code continues on for a few lines with a null `repository` even though it is guaranteed to `continue` later.

Really minor, just stylistic.