Also don't execute task if task has no results.
Remove unnecessary runtime dependency code.