Revert "refine func to get update repo command against distro"
Revert "refine func to get update repo command against distro"

This reverts commit 7642049339c8d2a3a118994582a03da1c39d2769.

hglkrijger/azure-linux-automation,v-sirebb/azure-linux-automation,hglkrijger/azure-linux-automation,iamshital/azure-linux-automation,FreeBSDonHyper-V/azure-freebsd-automation,konkasoftci/azure-linux-automation,konkasoftci/azure-linux-automation,hglkrijger/azure-linux-automation,Nidylei/azure-linux-automation,FreeBSDonHyper-V/azure-freebsd-automation,FreeBSDonHyper-V/azure-freebsd-automation,v-sirebb/azure-linux-automation,Nidylei/azure-linux-automation,Nidylei/azure-linux-automation,iamshital/azure-linux-automation,konkasoftci/azure-linux-automation,v-sirebb/azure-linux-automation,iamshital/azure-linux-automation