Fix/director unknown cmdlineoptions

fixes [#8446](https://trac.torproject.org/projects/tor/ticket/8446)