diff --git a/lib/kmxgit_web/controllers/repository_controller.ex b/lib/kmxgit_web/controllers/repository_controller.ex
index 9fff813..3082d42 100644
--- a/lib/kmxgit_web/controllers/repository_controller.ex
+++ b/lib/kmxgit_web/controllers/repository_controller.ex
@@ -745,7 +745,7 @@ defmodule KmxgitWeb.RepositoryController do
git
end
defp git_put_release(git = %{valid: true}, repo, tree, conn) do
- case Git.files(Repository.full_slug(repo) + "/release", "master", "release/#{tree}") do
+ case Git.files("#{Repository.full_slug(repo)}/release", "master", "release/#{tree}") do
{:ok, []} -> git
{:ok, files} ->
release = files