Fix CACHE_MODE=pull
for images created via import.
#2679
Merged
Loading