fix lgtm.com "Use of the return value of a procedure"
fix lgtm.com "Use of the return value of a procedure"

we return _log even though this entire family of functions returns None,
because a side effect of returning is that the other version of the
function is not run.

We can do that more obviously, using an else clause that doesn't attach
meaning to return values.

pexip/meson,pexip/meson,mesonbuild/meson,pexip/meson,mesonbuild/meson,mesonbuild/meson,mesonbuild/meson,pexip/meson,pexip/meson,mesonbuild/meson,pexip/meson,mesonbuild/meson,pexip/meson,pexip/meson,mesonbuild/meson,mesonbuild/meson,pexip/meson,pexip/meson,mesonbuild/meson,mesonbuild/meson