Fixes to unpacksysapp module

The `unpacksysapps` module was broken during testing.  It now works.