I can't remember the exact context, a couple of things might lead to this:
- a dependency uninstall fails & directory is deleted but metadata not updated
- the dependency list assumes everything in 'plugin.xml' exists (though plugins are forcefully removed)