fix daemon startup regression in a recent commit