Fixed cleanup

The folders "." and "." cannot be deleted and need to be removed from the list.