Fix issue with $config in paths().