Fixes #3896: Fix the rudder-agent package removal scripts

Ticket: http://www.rudder-project.org/redmine/issues/3896

To be merged in 2.4