Make parse_outputs() always return meaningful error codes.