Checkmk Werk 10254: Improve error handling of incompatible discovery functions