uuid: Fix applying patch