Bugfix for MODX_SITE_HOSTNAMES