pisi: do not rebuild files db twice