c54c3a2 Do not ignore building components to reset state when submit an existing module build

Authored and Committed by cqi 4 years ago
    Do not ignore building components to reset state when submit an existing module build
    
    koji.BUILD_STATE["BUILDING"] equals to 0. So, checking if
    component.state is None explicitly to avoid ignoring the components
    which are in building state.
    
    Signed-off-by: Chenxiong Qi <cqi@redhat.com>