Changed in cb83715 to print a more useful error.