schema compile BUGFIX setting must's origin module
diff --git a/src/tree_schema_compile.c b/src/tree_schema_compile.c
index 3522e9a..d29a7b4 100644
--- a/src/tree_schema_compile.c
+++ b/src/tree_schema_compile.c
@@ -642,7 +642,7 @@
 
     must->cond = lyxp_expr_parse(ctx->ctx, must_p->arg);
     LY_CHECK_ERR_GOTO(!must->cond, ret = ly_errcode(ctx->ctx), done);
-
+    must->module = ctx->mod_def;
     DUP_STRING(ctx->ctx, must_p->eapptag, must->eapptag);
     DUP_STRING(ctx->ctx, must_p->emsg, must->emsg);
     DUP_STRING(ctx->ctx, must_p->dsc, must->dsc);