fix bug while writing keys to manifest

which caused any new keys to not be written if a previous file existed without keys (it only worked if the previous file had any keys, or there was no previous file)

Merge request reports

Loading