Fix NPE in RunningTasks#getTasks

Test: presubmit
Bug: 220166475
Change-Id: If2d049addb67f7582c1837fb823b21dcafcd9608
1 file changed