Fix panic while merging log configs to nil map Upstream-commit: 7a1442baf6e31b3c94a2e9fd92155a75c1987868 Component: engine