Fix package uninstall script