fails a build if balrog fails. also fixes up return_code