[CHEF-3452] uploading frozen cookbook version explodes

This change make Chef::CookbookUploader for testing whether a cookbook
upload has failed due to a frozen version existing on the server.

This fixes a regression introduced by 7c7b4ea1.