VE-1627: Fix for problem with Wikia One

No Wikia One have an ID (which previously it didn't) which makes certain conditions evaluate incorrectly.

https://wikia-inc.atlassian.net/browse/VE-1627
Merge pull request #5222 from Wikia/VE-1627

VE-1627: Fix for problem with Wikia One