Replace bad URLs with correct ones
Skip a step for submodules