Closes #80

Fixes an NPE when deploying a process from the modeler.