Add a method context environment PATH

Some modules are referring to PATH env variable which do not contains /opt/local/.. paths by default. This fix provides correct PATH handling
Merge pull request #13639 from mguegan/patch-1

Add a method context environment PATH