run-tests: fix not returning non-zero upon failure

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>