And, as an aside, when you do it under these circumstances, I suggest you do NOT have an internet connection active and when asked if you want to download the latest updates as part of the repair install decline them.
All of the components necessary to "clean up" a Windows 10 instance are already a part of the ISO. Once that's taken place, Windows Update typically has no issue with the updates that need to be applied right after the repair install is complete and you connect to the internet again.
The above is only a suggestion. I've also, at times, kept the internet connection and elected to fetch the updates. This just makes the repair install process itself significantly slower, particularly if a slow internet connection is all that's available for downloading those updates.