chore(engine): fix NPE in DeploymentBuilder