Improved error message when generator is not found

Fixes #196