validate Stack#use_custom_cookbooks.