minor fixes in installation-class, better error-handling

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