Cherry-picking  a107146 which updates the format for downloading rpms/debs