Fixing bug when reading a Git Submodule entry