Small fixes and bring back flatpak remote auto-installation
See commit messages for details.
I didn't keep the daemon tests enabled because they seem to fail here, so I don't want to block the MR on something I've no knowledge on. It would be useful to enable them once someone fixed it.