### Godot version

4.1 24cb43a

### System information

Windows 10 x64

### Issue description

Every time I launch Godot, I'm greeted with this in my console:
```
ERROR: Resource file not found: res://InputEventKey_7cuxk.
   at: (core\io\resource_loader.cpp:227)
```
Seems to be only happening in Project Manager and comes from this:
![](https://chat.godotengine.org/file-upload/udqZP8NQfogp4rjRL/Clipboard%20-%2021%20kwietnia%202023%2022:24)
It's part of my `editor_settings-4.tres`. I didn't test, but I think it applies to any shortcut that you customize. For some reason ResourceLoader tries to load it as a project resource, while it's a sub-resource.

Does not happen in 4.0.2.

### Steps to reproduce

1. Open Godot 4.1 project manager
2. Check the console

### Minimal reproduction project

N/A
}
		if (script_res->can_instantiate()) {
			StringName instance_type = script_res->get_instance_base_type();
			Object *obj = ClassDB::instantiate(instance_type);
			MainLoop *script_loop = Object::cast_to<MainLoop>(obj);
			if (!script_loop) {
				if (obj) {
					memdelete(obj);
				}
				OS::get_singleton()->alert(vformat("Can't load the script \"%s\" as it doesn't inherit from SceneTree or MainLoop.", script));
				ERR_FAIL_V_MSG(false, vformat("Can't load the script \"%s\" as it doesn't inherit from SceneTree or MainLoop.", script));
			}
			script_loop->set_initialize_script(script_res);
			main_loop = script_loop;
		} else {
			return false;
		}
	} else { /
		if (!editor && !ClassDB::class_exists(main_loop_type) && ScriptServer::is_global_class(main_loop_type)) {
			String script_path = ScriptServer::get_global_class_path(main_loop_type);
			Ref<Script> script_res = ResourceLoader::load(script_path);
			if (script_res.is_null()) {
				OS::get_singleton()->alert("Error: Could not load MainLoop script type: " + main_loop_type);
				ERR_FAIL_V_MSG(false, vformat("Could not load global class %s.", main_loop_type));
			}
			StringName script_base = script_res->get_instance_base_type();
			Object *obj = ClassDB::instantiate(script_base);
			MainLoop *script_loop = Object::cast_to<MainLoop>(obj);
			if (!script_loop) {
				if (obj) {