Totally - your way of detecting deleted cookbooks is better. However, the loop below this line walks all things in `$ADDED_COOKBOOKS` and removes anything that's also in `$DELETED_COOKBOOKS` - that code is still relevant in your version.