[BUGFIX] Cannot uninstall packages with dependencies in install tool