Fix the command problem "adb shell pm list permissions -f"

After using the command adb shell pm list permissions -f,
it will break the list when dealing with a malformed APEX.

We think that we should not break the list. We should print
the error and continue to list all permissions.

Bug: 300268371
Bug: 301211657
Test: Manual by using adb shell pm list permissions -f
Change-Id: I8322900989385d360e3d0a7be66a334ffc1091cf
1 file changed