Fix another bug related to relative paths in XML. (GH-46)