flatpak (and ostree) report an st_mtime of 0 (or 1 in past versions) for all files it controls, which does not match the real time recorded when installing the plugins in the mock buildroot. Therefore, check this only when it appears to be real.