Check to see if returned task has associated deployment
Ruby style fix, call first once
Merge pull request #245 from knowncitizen/deployment_task_fix

Check to see if returned task has associated deployment