Use project location as the root URI while loading the index.
Use project.getLocation().toFile().toURI() to produce URIs
correctly terminated with a /.