fix adding submodule entries to dircache on checkout