#57327Fix relative path calculations in EM
Description
The extension manager often uses the extension
relative path to calculate paths to different files,
but does not take into account that this path
already has a trailing slash.
Remove excess slashes to avoid double slashes in paths.