Jhm::TAbsBase(cmd.PackageDir) should be enough.