Feature/script error when creating task

Story: https://www.pivotaltracker.com/story/show/76849876

I wasn't able to figure out why `context.id` isn't set in some cases, but we are using `firstexist` for this elsewhere in the code as well so this change at least makes that consistent.