enterprise: correctly handle nil pointer when "dotcom" is not in site config
Created by: slimsag
This fixes an issue where if "dotcom" is not in the site config (e.g. if testing SOURCEGRAPHDOTCOM_MODE=t
in dev mode), a nil pointer would cause a panic.