tests: allow for os-release quote variability in TEST-50-DISSECT
Quoting of values differs between distros: Fedora doesn't quote the ID_
fields, but CentOS does.
Adjust the test checks to account for this.
Fixes #19242
(cherry picked from commit 9f519e491fb2dddeaf39237587191c25b3797a7d)