Maybe we can use `fabtools.files.is_dir` here for clarity.