Do not fail if repo_list is empty
unit test for empty repo_list
simplify summary view test by directly calling function
Merge pull request #1173 from asmacdo/amacdona-1132458

1132458 - rpm repo list --summary no longer fails if repo_list is empty