I accidentally created an empty folder inside my Photos library.
My import process is a bit unusual.
I first import photos from my iPhone as usual. Then I locate the newly imported photos in Finder inside the Photos library file and copy them to a SMB share. That's when I accidentally had created a new empty folder inside a folder for one of the imports. That import was then deleted and all the image files disappeared. However, the empty folder is still there and it's basically junk.
I'd like to remove this entire directory tree: 2019/05/22/20190522-10460/New Folder With Items
I tried the repair function but it didn't help.
Deleting this directory tree manually breaks the Photos library.
How can I delete this junk?