Fix for empty string values check

When the parseOption function checks for valid values, is not
considering the empty string as valid option