Fixes #3915 - Add check for update or uninstall in RPM

Fixes #3915 - Add check for update or uninstall in RPM

Refs http://www.rudder-project.org/redmine/issues/3915