Added path exec to be Puppet 3 compliant, also fixed some variables names in sudo-syntax-check exec