Fix debug/verbose logic for string values as well

Both boolean or string values should be accepted
and passed as boolean class varaibles

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>