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.
Realistic chgrp test

The basic test now passes while it should fail. By removing
the graph entry from /Image to /Image/Fileset it can be made
to fail.