Ticket 49388 - repl-monitor - matches null string many times in regex
Bug Description: When using a wildcard(*) for the hostname, some of the
regex's for parsing the various configurations throws
out warnings.
Fix Description: When a wildcard is detected reset the hostnode variable
to nothing.
https://pagure.io/389-ds-base/issue/49388
Reviewed by: firstyear(Thanks!)
(cherry picked from commit 4b41a02484db645a593b9d6ac6c4e062dd374395)