fix(parseOptions): prevent error on empty collection