Send correct message when schema is not found

Fixes the failure case in #192