Fix ImportError for config