test_detect_match_nonexistent_template: Cleanup unused import

Thanks to Lewis Haley for spotting this.