validate_cmd: Use Puppet::Util.execute