Invert this conditional and return the invalid option error here.