Add source location in the template
The source location needs to be massaged with the repository fragment, taking into account the fact that the path might be relative in the XML.
The source location needs to be massaged with the repository fragment, taking into account the fact that the path might be relative in the XML.