diff --git a/lib/kmxgit/git_manager.ex b/lib/kmxgit/git_manager.ex
index fab0344..6b59ccc 100644
--- a/lib/kmxgit/git_manager.ex
+++ b/lib/kmxgit/git_manager.ex
@@ -64,6 +64,7 @@ defmodule Kmxgit.GitManager do
url = "#{parent}/#{name}"
%{mode: mode, name: name, sha1: sha1, type: type, url: url}
_ -> nil
+ end
end)
|> Enum.reject(&(&1 == nil))
case list do