Restored: lines removed from remove_local_directory()