Replace process.env.PWD with __dirname+'../'

Need to be able to require app/argv from other processes
(with different cwd) and get the correct config for the
current environment.