At the request of Michael Spencer, make the VCS version detection logic