Added VirtualEnv support and more efficient Git handling