Fix upload of multiple cookbooks so that each one gets uploaded instead of the first one multiple times