ISPN-3272 CLI man pages: Don't attempt to get the last character of an empty string when formatting

https://issues.jboss.org/browse/ISPN-3272