travis-ci: fixed dangling if in install.sh