Fix API tests for package uploads
Merge pull request #2913 from mptap/package-uploads

Fix API tests for package uploads