avoid creating empty dirs when daemon is started with -n parameter
increase test coverage