Fixes a strange issue with get_root_domain and a specific domain in index.xml