Fix Regression on picking of the commit "Bugfix : avoid NPE when
TaskReference points on no task"