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