Fixing log file name when gerrit ref changew is none