Idempotency fix for create_log_dirs exec

Exec runs continuously. Unless added.