Fix kunquat error retrieval on handle creation failure.