Issue #410: handle the case where left-over records are present in the files table with no corresponding entry in the pkg table.
Issue #410: handle the case where left-over records are present in the
files table with no corresponding entry in the pkg table.

khorben/pkg,junovitch/pkg,khorben/pkg,Open343/pkg,junovitch/pkg,skoef/pkg,Open343/pkg,en90/pkg,khorben/pkg,en90/pkg,skoef/pkg