(Hotfix) Make mw.wikibase.getEntityObject() actually return non-Legacy data

Also fixed the module to no longer guard against this, so that
the integration tests will catch this in the future.

Change-Id: Ie52d887b9a2dda98187cc23ce400614ca1bf2fac
(cherry picked from commit 8d526f9af33476649037097f0aab0ecf81753c89)