Automatic merge says localhast instead of real hostname

Created by: Razer6

Commit message says:

Merge branch 'pci-manager' of localhost:GROUP/PROJECT

gitlab.yml is configured properly:

## GitLab settings
gitlab:
  ## Web server settings
  host: REAL_HOST_NAME
  port: 80
  https: false

gitlab.yml seems to be configured properly since all other references to host work, e.g. path for cloning, email...

Running on: 4.1.0pre c8ba5c2d

Edit:

GitLab information
Version:    4.1.0pre
Revision:   c8ba5c2
Directory:  /home/gitlab/gitlab
DB Adapter: mysql2
URL:        REAL_HOST_NAME
HTTP Clone URL: http://REAL_HOST_NAME/some-project.git
SSH Clone URL:  git@REAL_HOST_NAME:some-project.git
Using LDAP: no
Using Omniauth: no