SI-7690 ghost error message fails compile [Rebase of #2763]

[Rebase of #2763]

I won't even try to explain the error reporting code, because
it would have no basis in reality. However this change appears
to fix the symptom reported.