Don't let transactions run on unlock errs

Sometimes it could happen that transactions failed because the lockfile
wasn't locked at the end of a transaction, that's not nice, but also not
fatal.

Change-Id: I0670d2987d09e758cc83189d0367cf8379ccf8a8
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>