Fix uninstall for split packages.