Fixes #4865: Correct check_rudder_agent not to use init.d on AIX and opt...

...imise os family detection (call uname only one time)

Ticket: http://www.rudder-project.org/redmine/issues/4865

To be merged in 2.10