termite: add workaround for submodules