Fix --task with upper case task names