Fix copy_dir_ignore to work when from = '.'