Prevent inadvertent CommandExecutionError on daemontools module import

This is to fix #6428. See related pull request #6429.