fix #2636: throw missing module errors as SourceErrors, not ErrMsg