Fix regression in upload error handling (to handle unsupported platform errors).
Fix regression in upload error handling (to handle unsupported platform errors).

Signed-off-by: Steven Murawski <8669c3d8a26fdfd690b7fe59e147997ca1cfb23f@gmail.com>

habitat-sh/habitat,nathenharvey/habitat,habitat-sh/habitat,habitat-sh/habitat,georgemarshall/habitat,georgemarshall/habitat,habitat-sh/habitat,nathenharvey/habitat,georgemarshall/habitat,rsertelon/habitat,rsertelon/habitat,habitat-sh/habitat,georgemarshall/habitat,nathenharvey/habitat,habitat-sh/habitat,georgemarshall/habitat,habitat-sh/habitat,georgemarshall/habitat,nathenharvey/habitat,rsertelon/habitat,rsertelon/habitat,rsertelon/habitat,habitat-sh/habitat,nathenharvey/habitat,georgemarshall/habitat,nathenharvey/habitat,georgemarshall/habitat,rsertelon/habitat,rsertelon/habitat