Checking for submodule installation and setting paths accordingly.
Suppressing stderr output when checking for submodule.
Initializing submodules in subshells.
Setting link_ignore depending on submodule installation.