This commit fixes the method validataGenericOption

In this version, we considered the possibility of a non-registered option dealing properly.
Signed-off-by: Ivo Calado <txithihausen@gmail.com>