Fix crashes when install/uninstalling an app after SU was integrated.