fix handling of machine dependent IMAGE_INSTALL, HYP-8097 HYP-9911

Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>