bug #2089: Remove misleading error message

(cherry picked from commit a9c53d411e8447d8249a783b15077a5e4e3e5c36)