### Godot version

v4.1.1.stable.official [bd6af8e0e]

### System information

Godot v4.1.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1080 Ti (NVIDIA; 31.0.15.3667) - AMD Ryzen 9 7900X 12-Core Processor (24 Threads)

### Issue description

This [addon](https://godotengine.org/asset-library/asset/1989) is shown as empty when downloaded via the editor. If downloading from the website everything works fine and there is content in the zip file.
![image](https://github.com/godotengine/godot/assets/10883690/259f114a-6ac0-4dd2-b71f-75c35d91ba85)

The asset uses `Custom` as repository host, linking with URL to `https://github.com/kenyoni-software/godot-addons/releases/download/hide_private_properties-1.0.1/hide_private_properties-1_0_1.zip`

### Steps to reproduce

Go to the Asset Lib and download [Hide Private Properties](https://godotengine.org/asset-library/asset/1989).

### Minimal reproduction project

N/A
Object *obj = ObjectDB::get_instance(image_queue[p_queue_id].target);
	if (obj) {
		bool image_set = false;
		PackedByteArray image_data = p_data;
		if (use_cache) {
			String cache_filename_base = EditorPaths::get_singleton()->get_cache_dir().path_join("assetimage_" + image_queue[p_queue_id].image_url.md5_text());
			Ref<FileAccess> file = FileAccess::open(cache_filename_base + ".data", FileAccess::READ);
			if (file.is_valid()) {
				PackedByteArray cached_data;
				int len = file->get_32();
				cached_data.resize(len);
				uint8_t *w = cached_data.ptrw();
				file->get_buffer(w, len);
				image_data = cached_data;
			}
		}
		int len = image_data.size();
		const uint8_t *r = image_data.ptr();
		Ref<Image> image = Ref<Image>(memnew(Image));
		uint8_t png_signature[8] = { 137, 80, 78, 71, 13, 10, 26, 10 };
		uint8_t jpg_signature[3] = { 255, 216, 255 };
		uint8_t webp_signature[4] = { 82, 73, 70, 70 };
		uint8_t bmp_signature[2] = { 66, 77 };
		if (r) {
			if ((memcmp(&r[0], &png_signature[0], 8) == 0) && Image::_png_mem_loader_func) {
				image->copy_internals_from(Image::_png_mem_loader_func(r, len));
			} else if ((memcmp(&r[0], &jpg_signature[0], 3) == 0) && Image::_jpg_mem_loader_func) {
				image->copy_internals_from(Image::_jpg_mem_loader_func(r, len));