Revert "TaskBuilder should not set empty commands."

This reverts commit 131952737675213c277ae17d8eba1b74ae28b031.