[PATCH 4/4] tools/mount-flatpak: Reasonableness checks on application IDs and paths