Fixed an issue with the conf directory detection.