refactor the process of creating data repositories to identify
repository nodes early and pass them through the process

this removes the ability to use a single hardcoded test URI in tests,
and so it is removed