to have a ghost of a chance
= to have much less than a real chance; just a wisp, an idea, a ghost of a chance.