improve discovery of environment file
the report sent is now valid and tells puppet that the facts were updated. also made path to files more flexible