Fix NPE when uninstalling app

See https://github.com/CyanogenMod/android_packages_apps_Trebuchet/commit/55241e57fddfac64d0cc2e8895bfa7452b511c0d
Merge pull request #2 from loosethisskin/cm-10.1-npe-fix

Fix NPE when uninstalling app
Merge branch 'sgt7' into CM10.1