[automerger] Only remove task if it was uninstalled or removed from the recents list am: 0e2aa7a264

Change-Id: I90a210f1ae3b5b87daafd83519b34b6f41169db2