Fixes to git submodule update script