I don't think the club would publicly announce the contract extension if he were to leave.
To me it looks like a move to ward off interest or make sure that we benefit if he's a got a move lined up. However, that is a very good point. In those circumstances, it would be much better not to announce it at all. Let's hope that's the reason.