Fix rtd-verify.sh to better validate submodules