git.directory: Initialize git submodules after switch to git ref
Without this, some git clones are failing to be ingested because they referenced submodule which is not initialized. This results in hash mismatch since the git tree checkouted does not match the upstream nix/guix manifest.
This solves partially [1]
[1] Refs. #4751