refactor: dnf.cli.cli.BaseCli.returnPkgLists

The refactoring simplifies implementation of the ```repo-pkgs info/list``` commands.