Fix NPE in OMRI.java (Fix #10820)

A later check tests for the fileset to be null,
but the returned array can still be empty requiring
an earlier check.
Merge pull request #1118 from joshmoore/10820-npe-ormi

Fix NPE in OMRI.java (Fix #10820)