Resolve paths using config.cwd in the resolver factory.