cli: _process_demands() does not respect --caheonly (RhBug:1151854)
base: output a whole list of installed packages with glob pattern (Related:RhBug:1163063)