Fixes build and fixes how published media cache gets root nodes - if people have done this in the past it would have been horrible for site performance