Fix nil pointer dereference in upload error handling
Fix nil pointer dereference in upload error handling

Signed-off-by: Gabe Rosenhouse <657db4ad0dfa95e4e10afe2fdfba83b796a49c56@pivotal.io>

cjcjameson/fly,zachgersh/fly,zachgersh/fly,cjcjameson/fly