Fix dreamdaemon crash at dreamdaemon startup.