tests: use %LOGDIR to refer to the log directory This will allow it be set dynamically. Ref: #10818
test1278: verify that an extra --no-remote-name cause no warning