I've always heard the saying as "You can polish a turd, but it's still a turd."
Usually, this was a reference to those guys who do all kinds of bodywork to a crappy car. Like putting a great paint job, great rims, and a spoiler on a Yugo.
It may look better, but it's still crap.