Fixed debug and error output for Solaris zones

Every time we did set up a zone we crashed at the debug line. Now it works
Maybe I'm thinking of the error you raise in types when validation fails.