Fix: robustify against KeyError #1

Open
a.wagner wants to merge 1 commit from fix-pub-error into main