module: fix crash when built-in module export a default key
#51481
+11
−1
default key
#51481