filebeat uses `paths.Resolve` in the generate command. This is not used in beat receivers. https://github.com/elastic/beats/blob/e1d92ebda55f492b0be4ced020abeb4347469685/filebeat/cmd/generate.go#L33 We should investigate to see if we can replace this, but it has no impact on beat receivers. Relates #44903