Add verification result check

Without the check an uncaught exception is raised in case of
a verification failure.