Can't load repository after adding gitlab-ci as a service
Created by: mkroman
After adding Gitlab CI as a service to my repository, and having no builds, I am unable to load my repository page.
    Started GET "/myname/myproject" for at 2013-08-10 21:08:13 +0200
    Processing by ProjectsController#show as HTML
    Parameters: {"id"=>"myname/myproject"}
    Rendered shared/_clone_panel.html.haml (0.4ms)
    Rendered projects/_clone_panel.html.haml (7.2ms)
    Rendered events/_event_last_push.html.haml (0.0ms)
    Rendered projects/show.html.haml within layouts/project_resource (15.1ms)
    Completed 500 Internal Server Error in 119ms
    ActionView::Template::Error (no implicit conversion of nil into String):
    48:
    49: - if @project.gitlab_ci?
    50: %hr
    51: = link_to @project.gitlab_ci_service.builds_path do
    52: = image_tag @project.gitlab_ci_service.status_img_path, alt: "build status"
    app/models/gitlab_ci_service.rb:51:in `+'
    app/models/gitlab_ci_service.rb:51:in `builds_path'
    app/views/projects/show.html.haml:51:in `_app_views_projects_show_html_haml__613199706371095069_48193640'
    app/controllers/projects_controller.rb:65:in `block (2 levels) in show'
    app/controllers/projects_controller.rb:59:in `show'
After adding the service, I did a git commit --amend, followed by a push force in order to trigger a build, I'm not sure if this is relevant.
Edit: After testing, I can confirm that the ammended commit is not relevant. Edit 2: Forgot to mention, this is GitLab 5.4. I don't know if this is present in latest HEAD.