more SITE_MIRROR fixes