Clean up to support Trac 1.0 with built-in Git support.