[KARAF-2623] return non-zero exit status in case of remote cmd exception