Throwing an exception in case there is something wrong with a soy template, this will stop a container from starting up

Change-Id: I3b3c8a762703b1a92896d87aba252daecc9ad99a