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

Change-Id: Ie90f7568376618c0081124c47dbe6539bf909f79