fix validation of offset-value in domain import + minor fixes

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