Fix compatibility with MW 1.22: mw.loader.using does not return promise

Change-Id: I4fd50365fe72997609a7c40d9e460b656b5aad1a