Fix the self tests when using new versions of flatpak

1 job from master in 4 minutes and 55 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #212465
build-gnome-software

00:04:55