For references created with {@link createReference()}, the path returned
by this method is the reference path and not the actual repository path
of the referenced resource. You should use {@link getRepositoryPath()} if
you want to glob the repository for a resource.