Fix crash when there are no courses in a meal.

On one request, the server returned the XML
<meal>
<name>LUNCH</name>
</meal>.
Therefore, it should not be assumed that any data from the server
contains course objects for a meal.