Use path.resolve in Config#resolvePath