Shouldn't this be `repo.Info.IsShallow`?