This leverages the environment attribute instead of the PATH which is being deprecated with chef-client 12.