Cherry-pick #2208 from opscode/jdmundrawala/env-path-spec-fix

restore ENV['PATH'] in env_spec after test is complete