This makes the -d commandline argument usable again. Pass empty string as parent name as listing starts from the root.