deal with Package::Stash changing its API