postgresql fails on psql calls

Puppet kept failing because command wasn't an array, this patch fixes that issue.