_code_fam_from_url runs through config.family_files dict but the order of the dict is not deterministic and may be different on several Python releases. Python 3.7 works like an OrderedDict but others do not.
In result when _code_fam_from_url has multiple matches of a site, the order of matched_sites is different and returning the first site "(use first)" is not always the same.