Move creating dummy tasks for task deps from _update_prority to _add_task

See #444