Avoid NPE when printing Latest remote head revision message.