wgTitle can be null in rare edge cases, e.g. in tests

Bug: 68697
Change-Id: Ibc1e23dfc8832bce6bd0e0892b1ad8c50452e0ba
Merge "wgTitle can be null in rare edge cases, e.g. in tests"