Cleanup Django working copy before getting version.

This avoids errors when stale .pyc, similar files/dirs are found.