The line, "Get the Hell out of Dodge" refers to a western that was set in Dodge City, Kansas. It originated with Gunsmoke, either in the 1950's or 1960's - quite possibly since that show was set in that locale.
But, certainly not with the Dukes of Hazzard in either the TV show or the movie...