Fix bug where cookbook_name is not recognized