Issue #3077504 by bircher, marcvangend, alexpott, borisson_: Add config_exclude functionality to core