Trying to fix legacy image template issues

Undoing commit
https://github.com/extension/darmok/commit/922fa762326901fe75407a4b62cc8
fac6668adb8  I don't understand what issue that commit fixed. Cannot
find documentation. This commit address page ID 24666