Fix failures on ruby < 1.9

A trailing comma is not allowed on ruby 1.8.7 and caused the following
error:

    syntax error, unexpected ')' (Puppet::Error)

Remove it to be backward compatible with ruby 1.8.7