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