Fixes "Trying to get property of non-object" when trying to lookup a module somewhere in the code when the module isn't installed/found in the database