bf4f193 Catch problems when running mock in the build root

Authored and Committed by nphilipp 3 years ago
    Catch problems when running mock in the build root
    
    Kill the build if executing it returns a status other than 0. In the
    course, fix a bug in the test for process_distgit_db().
    
    Signed-off-by: Nils Philippsen <nils@redhat.com>