Fix parsing gitmodules config if unable to detect if for one of submodules

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
version 2.6.3

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>