Fix issue with config dir missing