Being an outstanding debt owed to them, your loan remains a potential asset to the company that would be repackaged & sold on along with all the other assets it has.
However, depending on HOW its sold on, it's possible it could be written off as too expensive to realise. In practice, these sort of commonplace consumer loans are easy enough to transfer across to new systems and collect cheaply... you're not going to get out of it!
If you had a special facility for a several million dollar loan from them, it would probably be easier for you to default on that if they went bankrupt than just having a few thousands or so regular consumer loan.