Changed the way detect_presence works with git.
Changed the way detect_presence works with git.

A test was failing due to the previous implementation.
See test/test_git_subm.py:147

jpgr87/vcstools,wkentaro/vcstools,wkentaro/vcstools