# in branch name causes no environment creation

Summary

When a git branch has # at the beginning, e.g. gitlab-runner#72 (closed)-some-issue, gitlab isn't creating dynamic environment and CI_ENVIRONMENT_SLUG is empty

Steps to reproduce

Name a branch, e.g. gitlab-runner#72 (closed)-some-issue and try to create dynamic environment for this branch

Actual behavior

No creation of environment

Expected behavior

Environment called, e.g. "review/#72 (closed)-some-issue"

Relevant logs and/or screenshots

I think there is no need

Environment description

Own runner with shell, doesn't matter for issue.

Used GitLab Runner version

Running with gitlab-ci-multi-runner 1.10.5 (gitlab-runner@8bebc163) Using Shell executor...