Fix a regression where cookbooks path must be an array