(PUP-3302) Puppet resource fails when using directory environments

Before this fix when `puppet resource file` was being used set with
source defined puppet would fail and raise an an EnvironmentNotFound
error.

@jpartlow and I dug in and investigated why this error was being raised
and found that it was because we need an environment object
in Puppet::Indirector::Request#environment= and instead of the
none environment being passed around it is passed as the string "none"
which is a directory environment that does not exist. This is what is
raising the EnvironmentNotFound error in puppet.

Instead of passing around a string we pass around the none environment
to fix the issue.
I believe this should be `puppet('resource', 'file', target_file, '--environment', "#{testdir}/environments", "source=#{source_file}")`. Use just the `puppet()` method and split the arguments up into individual strings. Unfortunately `puppet resource` needs the resource parameters to be in `parameter=value` form, so that can't be split up.