[checkmk-commits] Cleanup ancient discovery function handling