Fixes #3934 - Backport Technique 'Package management for RHEL / CentOS / SuSE / RPM systems' v4.1 to branch 2.4

Fixes #3934 - Backport Technique 'Package management for RHEL / CentOS / SuSE / RPM systems' v4.1 to branch 2.4

See http://www.rudder-project.org/redmine/issues/3919 and http://www.rudder-project.org/redmine/issues/3934 .