On Debian (at least) we don't get appstream information until apt-get update (or equivalent) is called.