[client] Add more info to log for unclean worktree.