EZP-23474: fix LegacyEmbedScriptCommand doesn't activate the LegacyBundles

https://jira.ez.no/browse/EZP-23474
Well, it doesn't mean it was related to this PR...