pmi/s1: fix large keys

do not overwrite the PMI key when pushing a message that does
not fit within 255 bytes