Improve messages in apply_patch()