Remove PathContainer.Factory

Started unwinding some unused dependencies, turns out we don't need a
factory at all.