Handle the case that same user may exists in different repositories for example hg/git