Technically its the buyer who is responsible for checking outstanding finance. So you're screwed mate
The car I have just bought came back on HPI as having outstanding finance, but before I bought, I rung the finance company who stated it was an error and that it should of been removed. I waited for written confirmation from them of this and then did another HPI and it came back clear
unfortunately, since legally the finance company still own your car, they may well pursue for the recovery of the vehicle - shit I know