bundle: fixed error handling in create_bundle()
bundle: fixed error handling in create_bundle()

Multiple error paths resulted in returning a non-error code in case of
an error.

Signed-off-by: Enrico Jorns <a2e5f936c390f36494e46e71bcfbe365bb1e8c49@pengutronix.de>

rauc/rauc,ejoerns/rauc,rauc/rauc,ejoerns/rauc,jluebbe/rauc,jluebbe/rauc,rauc/rauc,jluebbe/rauc,ejoerns/rauc