Fix typo in the patchlogs copying code