Fix #591: URI is not hierarchical when loading tools in separate project