base: output a whole list of installed packages with glob pattern (Related:RhBug:1163063)