fix absent key dir
Merge pull request #16591 from makinacorpus/f2

fix absent key dir