do not depend on a particular URL in case of redirect

Change-Id: I92cd0cde4730fc949544f3991e41d2438149781a