Fixes #4987: Use rudder-plugin to register / unregister the plugin