Add prefix to metalinks in order to compare them correctly.

According to line 832: prefix should be included in metalinks.
So when we get the content of the links, we should use exactly
the same way to construct the string 'tmp' as 'shadow'. Otherwise
the comparison is incorrect.