Return failure code on failure; DM-1027

Feels a bit hacky. Is this a standard scons idiom?