   end
 
   defp umbrella_child_names do
-    umbrella_apps_paths |> Map.keys
+    umbrella_apps_paths() |> Map.keys
   end
 
-  @doc """
-  Umbrella apps don't have a name in their mix project.
-  Instead we check to see if the release is an umbrella release, and that the
-  name of the release *is not* one of the apps in the umbrella.
-  """
+  ## Umbrella apps don't have a name in their mix project.
+  ## Instead we check to see if the release is an umbrella release, and that the
+  ## name of the release *is not* one of the apps in the umbrella.
   defp releasing_umbrella?(name) do
     case Mix.Project.umbrella? do
-      true  -> !Enum.member?(umbrella_child_names, name)
+      true  -> !Enum.member?(umbrella_child_names(), name)
       false -> false
     end
   end

    end
  end

  defp add_escript(conform_overlays, release) do
    debug "generating escript"
    escript_path = Path.join(["#{:code.priv_dir(:conform)}", "bin", "conform"])
    [{:copy, escript_path, "releases/<%= release_version %>/conform"} | conform_overlays]
  end

  defp generate_umbrella_schema(release) do
    schemas = Enum.reduce(umbrella_apps_paths, [], fn({name, path}, acc) ->
      schema =
        path
        |> Path.join("config/#{name}.schema.exs")

    tmp_conf_src
  end

  ## Backport from Elixir 1.4.0 `Mix.Project.apps_paths/1`
  defp umbrella_apps_paths do
    config = Mix.Project.config
    if apps_path = config[:apps_path] do
