Handle git 1.9+, it lists submodules in parents