[pungi-fedora] PR #783: F31: Backport Flatpak pre-installation fixes from rawhide