Also look in DRUPAL_ROOT.'/.git/modules' for submodule .git dir

Add on to e3c24ae