Account for rpm behavior difference on directories
This commit modifies the packaging tests to account for the fact that rpm behaves differently with respect to preserving directories marked as "CONFIG | NOREPLACE" on older versions versus newer versions. Older versions will leave the directory as-is while newer versions will append the suffix ".rpmsave" to the directory name. Relates elastic#18216