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