new-rage-sample fix: avoid detached head by checking out master of all submodules