Fix bug with gitlab_without_gems

I had some issues when I tried to install gitlab with postgresql. This commit fixed it.