IOIOLib: Fix resource manager checking (part 2)

The ResourceManager would not handle null correctly.