WIP: fix nil pointers in trigger controller
Merge pull request #23 from pmorie/deploy-trigger-wip

WIP: fix nil pointers in trigger controller