Fixing bug for circular download URLs

There was an issue where RPM linked to Github and Github linked to RPM.

FYI: @briandela @tmacie