Improve crazy error message
Improve crazy error message

Clarify an error message. Also remove duplicated code: this error
message was output in two code locations for the same reason, and the
two code locations where quite different.

I did this since I actually ran into this error message.

Blaisorblade/pts,Toxaris/pts