[Fixes #53992139] Re-introduce trailing slash accidentally removed in d788172