Oops, fixed a crash when an apk is installed from outside the installer.