Namespace license checks for squash and merge
Related to
https://gitlab.com/gitlab-org/gitlab-ee/issues/2335