Make _get_baseurlinfo_and_dist() provide the correct uri