legacy: hotfix in https url site replace

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>