Fixed vcs#detect()