Check for NULL option before parsing

We do not check if the option in parse_option is NULL. If it is we will
attempt to parse it anyway, and no one wants to end up in the middle of
invalid memory. Check if the option is NULL and abort if it is.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>