Don't crash when we didn't get any lines.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>