Fix make cookbook
when certain cookbooks are guarded
#3665
Merged
make cookbook
when certain cookbooks are guarded
#3665