If scm url has spaces at the end, scm plugin cannot clone repo.
Jenkins ver. 2.150.3
Gitlab 11.8.1 (657d508)
I am not sure it is really related to SCM API, might be a plugin implementation.
Anyway, it should be a relatively simple patch. I will reassign it to the repo maintainers