Search bar autocomplete fails when `gon.relative_url_root` is `/`
In the Issues / MR page, when you filter by author, assignee, etc.., the request fails when gon.relative_url_root
is /
This is similar to https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27635