Fix repo_upload failure handling (#135)
- a 404 response previously would output a message to stdout but then
continue to try to parse JSON, which would fail.
- the
FailedFiles
and Warnings
code never got executed because it
was in rescue
blocks that don't get triggered.
Thanks @msabramo!