Update `ConfigDataEnvironmentContributor` to deal with the fact that the `properties` instance can be `null`. Fixes gh-25029
usesPathPatterns()