[PATCH 3/4] tools/mount-flatpak: Move more code to mount_commit()