Small hack for update-image-cache.pl.