### 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)

#include "resource_importer_texture.h"
#include "core/config/project_settings.h"
#include "core/io/config_file.h"
#include "core/io/image_loader.h"
#include "core/version.h"
#include "editor/editor_file_system.h"
#include "editor/editor_node.h"
#include "editor/editor_scale.h"
#include "editor/editor_settings.h"
#include "editor/gui/editor_toaster.h"
#include "editor/import/resource_importer_texture_settings.h"
#include "scene/resources/compressed_texture.h"
void ResourceImporterTexture::_texture_reimport_roughness(const Ref<CompressedTexture2D> &p_tex, const String &p_normal_path, RS::TextureDetectRoughnessChannel p_channel) {