308f5bc Serialize component build state trace correctly if state is None

Authored and Committed by cqi 4 years ago
    Serialize component build state trace correctly if state is None
    
    Fixes #1179
    
    Signed-off-by: Chenxiong Qi <cqi@redhat.com>