[bugfix] Package manager: uninstalling a package with empty target collection caused entire db to be deleted. Refuse to deploy if target is empty.