Ran into an issue today with installing the October 9th SharePoint Security Patch. During the content database upgrade I received several errors that certain sites and webs were missing. This is due to the staging content database being migrated from a development content database, and there are slight differences in the configuration databases between the two environments. In any event, I found the following posting from Cory Burns that took care of the issue:
How to Clean Orphans from your environment.
(Be smart have backups prior whenever you are performing maintenance on your farm, use suggestions at your own risk.)
Configuration Orphans: These are the orphans that reside in your configuration database but have no child counterpart (contentDB entry). Cleaning these are the easiest of all the orphans. Simply detach the content database from your farm that was included in the result set and reattach it. This will refresh the sitelist that is tied to that content database and will remove the stale entry.