if no <packages type="delete"/> section exists in the target the code does not add the packages to become deleted. This patch changes the behavior in a way that a new section is created