do not require task to already have target

for tasks that don't have a default target, one must be specified
the previous logic prevented this