symlinks: correction to remove folders and not only symlinks