fix GitHub host detection `travis login --auto`