remove hasNodeLocalOnlyTasks checking