Bug 967228 - Avoid exception in DOMIdentity.jsm (r=MattN)