Print only the full result

This avoids printing a new line for every time there's no result.  Fixes ros-infrastructure/jenkins_tools/issues/9