Fix broken sdcard upload success handling
Fix broken sdcard upload success handling

Spotted by @devildant, thanks!

Closes #3005

foosel/OctoPrint,Jaesin/OctoPrint,Jaesin/OctoPrint,Jaesin/OctoPrint,foosel/OctoPrint,foosel/OctoPrint,Jaesin/OctoPrint,foosel/OctoPrint