### Godot version

v4.0.beta.custom_build [705273140]

### System information

windows 10

### Issue description

When double-clicking a gltf file in the project, the Importer panel will open, but it will also extract the embedded textures.
This never happened in the previous version I was using (I'm not sure which beta I was using last- maybe 13 or 14).



### Steps to reproduce

open the project, and double-click the gltf file to open the importer, see that it creates an image file when it should stay embedded.


### Minimal reproduction project

[gltf import bug.zip](https://github.com/godotengine/godot/files/10522127/gltf.import.bug.zip)

Ref<Texture2D> metallic_texture = base_material->get_texture(BaseMaterial3D::TEXTURE_METALLIC);
			BaseMaterial3D::TextureChannel metalness_channel = base_material->get_metallic_texture_channel();
			Ref<Texture2D> ao_texture = base_material->get_texture(BaseMaterial3D::TEXTURE_AMBIENT_OCCLUSION);
			BaseMaterial3D::TextureChannel ao_channel = base_material->get_ao_texture_channel();
			Ref<ImageTexture> orm_texture;
			orm_texture.instantiate();
			Ref<Image> orm_image;
			orm_image.instantiate();
			int32_t height = 0;
			int32_t width = 0;
			Ref<Image> ao_image;
			if (has_ao) {
				height = ao_texture->get_height();
				width = ao_texture->get_width();
				ao_image = ao_texture->get_image();
				Ref<ImageTexture> img_tex = ao_image;
				if (img_tex.is_valid()) {
					ao_image = img_tex->get_image();
				}
				if (ao_image->is_compressed()) {
					ao_image->decompress();
				}
			}
			Ref<Image> roughness_image;
			if (has_roughness) {
				height = roughness_texture->get_height();
				width = roughness_texture->get_width();
				roughness_image = roughness_texture->get_image();
				Ref<ImageTexture> img_tex = roughness_image;
				if (img_tex.is_valid()) {