I don't see it as a plot-hole at all. There's the typical Stark honour that got them all killed in the first place in action that makes perfect sense from Ned's perspective. On top of that, when they were married they had met like, just couple of times, including the wedding and Ned had no real reason to trust her with such secret and then it build from there.