This is a leftover from me poking the code. There's an implicit assumption that every file has a parent - which if violated blows up later in implementation of containedIn(). I don't have any reasonable reproducer except adding root ("/") as file to the mapping but that doesn't make much sense.
Unsure if this should land, happy to hear opinions.