also sync when error updating submodules

This solves the problem when a remote url for a submodule
has changed