fix bug in updater which prevents the updater to finish correctly, fixes #1186

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>