fixed issue with pg states failing from postgres.version keyerror in __salt__