Because he thought it was Madara. Itachi cited him as being his superior, so the stakes would've been high if he had intended to try that. If it failed, he couldn't protect Konoha or Sasuke for the fact that he'd be dead.
Remember when I say that, I'm looking at it through Itachi's eyes, who...