Fix redirection of check-mirror with --url-prefix
Originally created by @sajolida on #11626 (Redmine)
It’s currently broken when doing for example:
ruby check-mirrors.rb --debug --fast --url-prefix http://ftp.acc.umu.se/tails/
Feature Branch: 11626/fix-redirection