Fixes #5221: Cleanup ncf post hooks and make the output of the commands ...

...silent unless an error happens to prevent log cluttering

Ticket: http://www.rudder-project.org/redmine/issues/5221

To be merged in 2.11

NOTE: This is only cleanup/comment code, no logic has been altered.
Why did you remove the "wc -l" command ?