package-manager: fix patch things, thanks Tribunal