fix unittests after removal of _clean_orphaned_directories