Hmmm... Not sure if I see a problem with this. The Stormcloaks are quite aware that the Thalmor are the real enemy. And despite their more immediate civil war with the Empire, they may know the Emperor's death could strengthen the Thalmor's position. Big-picture-wise, it's a bad thing for everybody who doesn't like the Aldmeri Dominion.
I'm not so sure about that, given that the situation with the Thalmor is largely Mede's fault in the first place. With him dead a ruler can be appointed (I think that's the right term) who actually knows what the hell he's doing, and who might actually act against the Thalmor instead of sitting on his thumbs.
That aside, considering that the Empire and Stormcloaks are on opposite sides of the Civil War, the dialogue should have been written accordingly. After all, for a Stormcloak, the death of the Emperor is a
good thing, as it will bring the Imperial Army to a halt while a new leader is chosen, giving the Stormcloaks the opportunity to seize key objectives.
Now if you'd said that a dead Emperor was bad for
Skyrim, then I could agree with you, although given the known ineffectiveness of Mede since the WGC even that's debatable. Of course, that assumes that the Thalmor would act immediately upon learning of this, and from all indications they're not really in a position to do so due to lack of sufficient forces, so at least in the short term the Emperor dying might prove no more than a minor inconvenience.