fixing package-cookbooks script