correct final URL after GH redirect