Fix odd pkgdb corner case.