Fix update nonexistent task

Closes-bug: #1326284

Change-Id: I0eeaff7fbf44c975d2aac0a4839ad0f5fecd3276
Merge "Fix update nonexistent task"