NameError: name 'subprocess' is not defined

suddenly some of my MIAB boxes “Status Checks Change Notice” started to show error message “Missing privilege separation directory: /run/sshd” and this one above.
But there actually is empty /run/sshd folder.

Internet search led me to the MIAB’s Github where is 3 weeks old “fix: NameError: name ‘subprocess’ is not defined”. Looked at it and this adding “import subprocess” in to utils.py. No further explanation.

But I have not updated (manually) anything in MIAB. Although restarted all of them few days ago. How this thing happened and do I need to do something or this error somehow “repair” itself like as it appeared. What is “official” recommendations to resolv such issues?

hmm there is some more information.
when scrips run from cron, then result is

/etc/cron.daily/mailinabox-dnssec:
name ‘subprocess’ is not defined

when run that same script from shell, then
/etc/cron.daily/mailinabox-dnssec
updated DNS: OpenDKIM configuration