exodus: less aggressive prefix matching
The previous regular expression was too agressive in matching the prefix (.* matches everything). Change it so that we match up to the first period then match a generic extension.
Closes #19202 (closed)
Backport: release