I was thinking about doing what you did just there, but if you look
below in the function if baseurl is None and we fall through, it tries
to construct strings using baseurl. We get URLs like "None/.treeinfo"
and an error in the log file.