pff: bug fix for permission revoking
solves force close when installing a apk from file system

Change-Id: I02e0dc1fa95a3130abfb5f0ad16be255c0a2be93