It's the template that has the simulator type, not the deploy target.

Remove extra logging to prevent a potential NPE