Weird travis behaviour with http requests