Don't try to loop over a possible `None` value.