the second to last line isn't always empty

sh ip bgp | i foo

and you won't see empty line before prompt, ergo, we cannot always
remove it.

But I'm not too surprised JunOS + IOS templates are still mostly exactly
the same they were from my testing to see how Oxidized works over year
ago, they need rework to be production quality.