package_patch action

To resolve #1416
this is implemented in the opposite way that it is in package_update (the name overrides the id) Is there a reason for that?