build: move append-string to image-commands.mk