[Version Control System] Globbing Version Control Queries

This basically speeds up startup. Speedup from 3s to 2.3s (query time).
Forgot an unused variable.