Bring `__check_config_dir` into required scope.