The references are expected to be in the format returned by
{@link getReferencesForPath()}, {@link getReferencesForGlob()} and
{@link getReferencesInDirectory()}.
The result contains Puli paths as keys and {@link PuliResource}
implementations as values. The order of the results is undefined.