Make dev-mode pants pass on return code correctly

Auditors: benjy