flatpak: Use g_assert_true() in self tests

g_assert() can be accidentally compiled out with G_DISABLE_ASSERT;
g_assert_true() cannot.
2 jobs for master in 5 minutes and 10 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #831252
debian-stable-x86_64

00:01:19

passed #831251
fedora-x86_64

00:05:10