Correct error in quoting in qpid script.

Also be more explicit when a failure occurs.