Raise a RuntimeError instead of Puppet::Error

This is raised when getting a error reply from PuppetDB, we don't need
to depend on Puppet for this.