Handle case where there are no tests
Add fallback detection of VCS by existence of dot-directory (e.g. .git)

This provides support for self-hosted repos.