[https] fixes remote urls for https compatibility