[Redmine] Fix error getting the root of the URL