def ensure_path_is_directory(args)
        config = args[:config]
        path = args[:path]
        logger = config.logger