build: smoketest: fix returncode of log() and mymake()