Return error instead of abort

Instead of abort() when something unexpected happens :scream_cat: we return not found error :see_no_evil: