Fixes #3634: Cleaned up the post install and removal script of rudder-ag...

...ent to prevent installation and removal surprises

Ticket: http://www.rudder-project.org/redmine/issues/3634

To be merged in the 2.4 branch