I think perhaps Slughorn intentionally gave that particular book to Harry. We know that Slughorn is a name-dropper ... who better to have in your debt than The Boy Who Lived? Not to mention that the Boy in question is the son of one of your favorite students from years gone by?
If not for Snape, Harry might have been quite the dab hand at Potions.