Refactor the code using 'package' module Fix Issue #520 (However it doesn't cover all cases because some cases are not refactorable. Ex: because of diverging packages name between distribution)
closes: #598 Signed-off-by: Sébastien Han <seb@redhat.com>
Signed-off-by: leseb <seb@redhat.com>