### Tested versions

Godot 4.2
But the version doesn't matter. 

### System information

Godot v4.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 6900 XT (Advanced Micro Devices, Inc.; 31.0.22023.1014) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

### Issue description

When you checkout a new project or plugin (e.g. via Git, AssetLib) that uses icons where the import setting were modified, an error is spamed in the log for every icon.

Example:  
- `icon.svg` with import settings modified
- `Missing required editor-specific import metadata for a texture (please reimport it using the 'Import' tab): 'res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.editor.meta'`

### Steps to reproduce

1. Modify an icon (e.g. the default `icon.svg`)
![image](https://github.com/godotengine/godot/assets/66004280/932ac67c-5512-4af4-a9a3-81d89a628e72)
2. Change an import setting (e.g. `Scale With Editor Scale`)
![image](https://github.com/godotengine/godot/assets/66004280/1a725abc-640f-4fb8-8083-7d25cffd9cc9)
3. Close Godot and delete the `.godot` folder (To simulate a new project, e.g. when someone is checking out the project it will not exist yet)
4. Open Godot, see that there will be an error printed to the console

_Details:_
When changing some setting the `has_editor_variant` flag is set. In this case Godot expects that there must be a file in the `.godot` folder, and prints an error when not.
Content of the `icon.svg.import`
![image](https://github.com/godotengine/godot/assets/66004280/6836124a-6a17-4a3a-abfd-35abde55a9d6)

_Note:_
The icons will work fine from my testing, e.g. `Scale With Editor Scale` works even though the error was printed. The import file is also created after the error was printed, so this is fine as well.

### Minimal reproduction project (MRP)

[Icon.zip](https://github.com/godotengine/godot/files/13589632/Icon.zip)

bool detect_normal = normal == 0;
	bool force_normal = normal == 1;
	bool srgb_friendly_pack = pack_channels == 0;
	Array formats_imported;
	if (compress_mode == COMPRESS_VRAM_COMPRESSED) {
		
		
		const bool is_hdr = (image->get_format() >= Image::FORMAT_RF && image->get_format() <= Image::FORMAT_RGBE9995);
		const bool can_s3tc_bptc = ResourceImporterTextureSettings::should_import_s3tc_bptc();
		const bool can_etc2_astc = ResourceImporterTextureSettings::should_import_etc2_astc();
		
		if (can_s3tc_bptc) {
			formats_imported.push_back("s3tc_bptc");
		}
		if (can_etc2_astc) {
			formats_imported.push_back("etc2_astc");
		}
		bool can_compress_hdr = hdr_compression > 0;
		bool has_alpha = image->detect_alpha() != Image::ALPHA_NONE;
		bool use_uncompressed = false;
		if (is_hdr) {
			if (has_alpha) {
				
				if (hdr_compression == 2) {
					
					if (image->get_format() == Image::FORMAT_RGBAF) {
						image->convert(Image::FORMAT_RGBF);
					} else if (image->get_format() == Image::FORMAT_RGBAH) {
						image->convert(Image::FORMAT_RGBH);
					}