Fix panic in ChangeImageNameAction when a restored container image field is not a string
