Restore compatibility with PrettyTable < 0.7.2

PrettyTable 0.7.2 defaults to print a table even if
the resultset is empty. Restore previous behavior
to be in line with older prettytable releases.

Change-Id: Iaa9e1cf5444c8daa229aad53e3a3c15038a7d57e