Fixes for package cache pathing, as well as improvements to mount/umount handling.