Fix segfault when libvmi fails to init and error_exit tries to resume