This is the same fix as 91205ae8761fddeb7d0a854c572064cef6476bd4 but for the WebAppInitializer. Change-Id: Ib9af4a91ea52ee6e894c6cc857a0aaaff642e9b1