Core: Fix undefined index error from unknown host domains