Can't import from github

For the first time I tried importing a project from github. I insert my token and try to import a project and after a few seconds I get:

Error saving project: Import url must be a valid URL,Unable to save project. Error: Import url must be a valid URL

This is self-hosted gitlab 10.4.3. I can’t understand the error message as I have selected no url at all.