Fix license app with relative url

Merged Hiroyuki Sato requested to merge hiroponz/gitlab-ee:fix-license-app-with-relative-url into master

What does this MR do?

Fix error retrieving licenses when relative URL in use.

Fixes #11345 (closed)

Does this MR meet the acceptance criteria?

Conformity

Edited by Hiroyuki Sato