I cannot get env.domain from master during replica install, because
id(api.env.domain) == id(remote_api.env.domain), what means that remote_api.env is local configuration
This is really unexpected and should be fixed or remote_api should not have env accessible to avoid many future bugs.
Also this is blocking blocker ticket #5976 until we found better way how to get remove domain
closing per triage on Jun 21:
Metadata Update from @mbasti: - Issue assigned to someone - Issue set to the milestone: 0.0 NEEDS_TRIAGE