tundra-server.js: Null check for entity (that was removed?)