fix Undefined index: websiteId error on very first install step