[pacman-dev] [PATCHv2] be_sync: avoid crashing on files in the root of a DB