Options/Types: fix comma_dict parsing

bool() does not seem to raise a ValueError on any string, so we need to
check manually whether the value is a bool or not.