Giving special treatment to the last entry when iterating over a Puppet hash