Fixes #3709: make package delete work on CentOS/Red Hat systems
Merge pull request #144 from jooooooon/bug_3709/fix_package_delete_on_redhat_systems

Fixes #3709: make package delete work on CentOS/Red Hat systems