Fix git submodule update when version specified

If your git repository has submodules, they don't get updated to the version specified. This is a minor fix that updates submodules after the repository version has been switched.