Fix missing task directory