issue from failed job - 404 relative link issue

When a job fails, gitlab offer a button to create an issue from it. In the message, it automatically generates a url for us: Job [#201](/username/project/-/jobs/201), which points to

https://server/username/project/master/username/project/-/jobs/201

when it should point to:

https://server/username/project/-/jobs/201

Thank you!

Edited by Thomas Ferreira de Lima