[v9_18] Fix "keymgr updates key files each run"

Edited by Michał Kępień

Merge request reports