Fix broken travis build because localhost