Changes baseDir default value from __dirname to process.cwd()