Bugfix on when to print version info.