You're right about the trailing slash. I'm adding File.join() and append the trailing slash so that would be no problem.

About the URL itself: 127.0.0.1 might not be the gitlab instance, so this should be configurable