Fixed bug where an undef from puppet ends up as "" when template was expecting nil.