remove references to private copies of submodules