Fix when alt path is full url instead of relative.