Packages: fixed bug with display of package entries that have been converted to tuples
Packages: only convert package entry to tuple if yum libraries are used
Packages: removed unnecessary nested functions