imagex_capture_or_append(): Correctly use template_wim