### Godot version

4.1.1rc1

### System information

Godot v4.1.1.rc1 - Windows 10.0.19045 - OpenGL3 (Compatibility) - GeForce GT 630M () - Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz (8 Threads)

### Issue description

When I run Godot using ```--rendering-driver opengl3```, **Help > Copy System Info** reports that I am using the Vulkan rendering engine, producing a message like this: **_Godot v4.1.1.rc1 - Windows 10.0.19045 - Vulkan (Compatibility) - GeForce GT 630M () - Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz (8 Threads)_**, where I would expect it to say **_OpenGl3 (Compatibility)_** in place **_Vulkan Compatibility_**.

### Steps to reproduce

1. Open Godot using ```--rendering-driver opengl3```
2. Switch to Compatibility rendering engine
3. Go to **_Help > Copy System Info_**
4. Paste the system info and see that it reports Vulkan to be the rendering driver

### Minimal reproduction project

N/A
ERR_FAIL_COND_V(!p_object, StringName());
	Ref<Script> scr = p_object->get_script();
	if (scr.is_null() && Object::cast_to<Script>(p_object)) {
		scr = p_object;
	}
	if (scr.is_valid()) {
		Ref<Script> base_scr = scr;
		while (base_scr.is_valid()) {
			StringName name = EditorNode::get_editor_data().script_class_get_name(base_scr->get_path());
			if (name != StringName()) {
				return name;
			}
			
			StringName base = base_scr->get_instance_base_type();
			if (base != StringName() && EditorNode::get_editor_data().get_custom_types().has(base)) {
				const Vector<EditorData::CustomType> &types = EditorNode::get_editor_data().get_custom_types()[base];
				for (int i = 0; i < types.size(); ++i) {
					if (types[i].script == base_scr) {
						return types[i].name;
					}
				}
			}
			base_scr = base_scr->get_base_script();
		}
	}
	return StringName();
}
void EditorNode::_pick_main_scene_custom_action(const String &p_custom_action_name) {