MDL-40877 repository_url: Use core_text functions instead of mb_strlen()