Fix invalid warning when deleting sym folders.