Bug 1028261 - Fix to exit with a non-zero code on errors

We support Flame, which has /storage/sdcard0 as you mention in your earlier comment..?