Restore check for null m_ibus for benefit of TeamCity

This must be what is causing the test failures on TeamCity even though
there's no way I can see for it to happen.