Use path.resolve() in parseConfig()