Even though getResources() from the module class loader should not return null, we do return null internally when a cycle is detected, so we still need to be prepared to see null internally. (FELIX-2629)