Fix cf-runagent configuration to work with solaris

As noted here: https://cfengine.com/dev/issues/3453
Solaris does not have /bin/sh path.