When build finished, submodules will be checkout to 'master' branch, but yes, when there are some exceptions in the previous build, there will be some problem
Thanks, I will fix it.