[#58662714] Tweak link checker to work correctly in Jenkins