pisi: Fix breakage in binary upgrades

This fixes issue OS-4 (resolve issue: resolution=FIXED)