Fix crash on load *mrb
Merge pull request #1303 from kyab/sirep_fix2

Fix crash on load *mrb