changed string replacement for submodule worktree