test/daemon-test.sh: correct detection of travis host