|That does not sound like a repair install but a new one.|
There is a repair install option but it just refreshes the system files back to install defaults. It doesn't change the sid. A new install does [even if you didn't format].
Proper procedure would be to go to the DC and delete the machine account. Then go to the pc and rejoin the domain.