Only delete logged apk

To avoid unintended deletion of apks only the apk logged as the old
version should be deleted. This will probably cause some backup
directories to have two apks during the first backup cycle after this
commit if the package has been updated in the meantime.