You may not need to make the repayment. If you indicated that the home stopped being your main home on or before December 31, 2022, you don't need to file Form 5405.
According to Who Must File in the Instructions for Form 5405:
You must file Form 5405 with your 2023 tax return if you purchased your home in 2008 and you meet either of the following conditions.
1. You disposed of it in 2023.
2. You ceased using it as your main home in 2023.
See the instructions linked above for exceptions and more information.
If the home was still your main home on January 1, 2023, you'll need to file the form. You should see this screen:
Select the appropriate box, and enter any other information if needed.