8581d1c Correctly check Testcase related exception in resultsdb_directive

Authored and Committed by jskladan 8 years ago
    Correctly check Testcase related exception in resultsdb_directive
    
    The error mentioned in T519 is fixed by this simple change. Although
    the entire `ensure_testcase_exists()` method can (and IMHO should)
    be removed once D431 lands.
    
    Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D432