sval: math: fix get_value() for !foo