[Regression] `#%task()` pragma crushes when addinng a dependency to a task that does not exist in the workflow.