Fix error message when Resemble.js is not found

`ex` var not exists in the function context.

Also does not have sense continue with the execution.