Non-deprecated replacement w/ Cookbook#deprecate

If a deprecated cookbook is attempted to be set as the replacement w/ the
Cookbook#deprecate method, do not allow it.