Guard against null task.
Guard against null task.

git-svn-id: e208463f0da49ce01d17e17a21a9293a7ba6b26a@1476141 13f79535-47bb-0310-9956-ffa450edef68

pfirmstone/JGDMS,pfirmstone/JGDMS,pfirmstone/river-internet,pfirmstone/JGDMS,pfirmstone/JGDMS,pfirmstone/river-internet,pfirmstone/river-internet