Relocation Bonus Paid back to employer, no income in the year I paid back

Hello,

I am non-resident alien on F1 visa and I received $5000 minus Federal and State Taxes as relocation bonus when I joined the company in 2020. I signed a contract in which it mentioned that if I leave company in 3 years, I will have to payback the relocation money. 

Here's the tricky part. I plan to leave the employer and exit United States in January 2022 and pay back the money to my employer. Also, since I will be leaving United States, I will have no taxable income in 2022 in United States. Since I will have no taxable income, I won't be able to get the tax credit. Is there any way I will be able to get back the taxes I paid in 2020 on the relocation money?