flow: fix panic on decoding failure
flow: fix panic on decoding failure

Change-Id: If2b09f07dfad1c2d4bb2134e3ec62b0eab4a81d9
Reviewed-on: https://softwarefactory-project.io/r/6325
Reviewed-by: Sylvain Afchain <b9baee1c2e4cc202620c6529e0c0bd3dbc38b6dc@gmail.com>
Tested-by: Sylvain Afchain <b9baee1c2e4cc202620c6529e0c0bd3dbc38b6dc@gmail.com>
Workflow: Sylvain Afchain <b9baee1c2e4cc202620c6529e0c0bd3dbc38b6dc@gmail.com>
Tested-by: Jenkins CI <d95b56ce41a2e1ac4cecdd398defd7414407cc08@softwarefactory-project.io>

redhat-cip/skydive,lebauce/skydive,safchain/skydive,lebauce/skydive,lebauce/skydive,lebauce/skydive,skydive-project/skydive,redhat-cip/skydive,skydive-project/skydive,skydive-project/skydive,lebauce/skydive,skydive-project/skydive,lebauce/skydive,safchain/skydive,skydive-project/skydive,redhat-cip/skydive,safchain/skydive,safchain/skydive,safchain/skydive,lebauce/skydive,skydive-project/skydive,safchain/skydive,lebauce/skydive,skydive-project/skydive,safchain/skydive,safchain/skydive