Rename local var to match the type.
Making a TODO a plain comment

Same behavior as before, but at the time I wrote this TODO it was still
unclear to me how to handle the various changes we had wrt "all reposes",
with values of "*", "all_repo" and null.
TaskDescriptor ID is free game now.
Fixing the Task factory re descriptor locating

To not re-execute the "laxed" descriptor search when not needed.