Import project from Bitbucket Cloud results in garbled error message

Summary

Import project from Bitbucket Cloud results in following error message: image

Steps to reproduce

  1. Create new GL.com project and select "Import From Bitbucket Cloud" option
  2. Import existing BB project (in my case the project name contained dashes in the middle)

Example Project

What is the current bug behavior?

Following error is displayed: An error occurred while importing project: Path can contain only letters, digits, '_', '-' and '.'. Cannot start with '-', end in '.git' or end in '.atom'

What is the expected correct behavior?

Projected is imported.

Relevant logs and/or screenshots

Screenshot above

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Results of GitLab application Check

Possible fixes

Assignee Loading
Time tracking Loading