Well the sword did say “Jack” on it, so it’d be hard not to pick out that particular corpse. I think there’s a chance that maybe he had some involvement, but I think he’s more likely familiar because he is one of the humans who stole beans from the giants before they stopped making them. Which is why he would have had a bean for Smee to find on the ship.