[Debugger] Use a better null-check for ObjectValue values.