BasePathMixin: fix basepath update