Fix improper null check in isWikiOwner() test