Ensure we fetch the appropriate inputs for the running task.