Workaround for bug introduced by Icf6ede09b

Gadgets sometime express dependencies on 'mediawiki' and 'jquery'; now that
they are marked 'raw', they may be reloaded, with the effect that the originals
are clobbered.

Change-Id: I8d27442d101adfe59960db54689296417f148dde