CGIV-1650: handle the PATH environmental variable ourselves