Do not re.search show configuration stdout if empty (#23087)
Do not re.search show configuration stdout if empty (#23087)

If the banner is not set, the stdout of 'show configuration | begin banner <banner>'
returns empty string thus the re.search raises an exception.

Fixes #22216
thaim/ansible,thaim/ansible