Bug fix for configurable config dir.