need to handle recipes with no resource in taskactions.task_info

Bug: 1032653
Change-Id: If7e7da66e87a6e4443f5b1e83167ef52aa3e06f1