Dynamically resolve namespace basepath since we may be moving things from and to namespaces