Buddy, I went through the same process.
But I transferred my program inside my school, from PHD to master. And I got a 3 year PGWP without problem.
You have to talk to your professor to let you transfer, some paperwork. No need of paying back. Your professor would love to do that as it can...