Correct mistake in directory cleanup.