Fixed isInstaller() crash when the passed context class is not from the root app package.