The solution to T3912 added a more informative default login banner. Unfortunately, it also made it building images with custom login banners no longer possible because the default banner is hardcoded in the script.
Loading the default banner from an external file and adding that file to vyos-build will solve the problem.