Fix broken funcs related to repo urls on windows