Fix event emitted. See [#783]

Oups, I made a dum error in #783.
This illustrates a major issue with the test suite though: the BasicParsley suite is (at least partly) running with the remote code loaded...?
Haven't investigated further, maybe @guillaumepotier knows how come that can happen, but I'll open an issue.