change RepositoryTag data sturcture to RepoTagLocation and relate code