Fix custom config path not being resolved

The config path will now be resolved relative to process.cwd().