fixes ZEN-13522: do not panic for nil pointer when syncing elastic to zk...

...; log then continue

this is impossible to reproduce so hopefully review by code inspection is enough