Fixed terrible screw up in clone_dir()