A bit harsh but nothing controversial. Even if it was, let's not forget that Messi had his goal wrongly disallowed in the first leg. You get some and you lose some.
Having now seen it, yeah it was very harsh. But it was following the rules of the game.
That said, I think the calls mostly evened out over the two legs of the tie.