fixed broken ReinstallChecks() with --needed