process.cwd doesn't work when addon is installed