Fixes root directory submodules being interpreted as files with null sizes