[Version Control System] Globbing Version Control Queries

This basically speeds up startup. Speedup from 3s to 2.3s (query time).
Forgot an unused variable.
Merge pull request #350 from mono/globQueries

[Version Control System] Globbing Version Control Queries