For Travis CI - fix the condition as the env var may not be defined.