Use current git repo as root even if it causes problems inside submodules.