[PATCH v3 0/2] kunit: fix minor error path mistakes