cmdutils: add missing NULL check in parse_options()