Ensure the unpack command also copies patch definitions into a file

Closes #3476583

Merge request reports

Loading