createImageFromMachine now checks if image version is given