Fix for a segmentation fault in produce order parsing.
This seems to have been there forever, but most platforms apparantly
weren't bothered by it - it only showed up on the RaspberryPi, and
even then only some of the time.