   """
   @spec put(pipeline, any, any) :: :ok
   def put(pipeline, key, value) do
-    Agent.update(whereis(pipeline), &Map.put(&1, key, value))
+    Agent.update(via_tuple(pipeline), &Map.put(&1, key, value))
   end
 
   @doc """

  @moduledoc """
  Defines a Gullintanni build pipeline.

  A pipeline is uniquely identified by repository and encapsulates the state
  necessary to coordinate builds and merges.
  """


  defp identify(%Pipeline{} = pipeline), do: identify(pipeline.repo)
  defp identify(%Repo{} = repo), do: identify("#{repo}")
  defp identify(name) when is_binary(name), do: name

  # Creates a new pipeline with the given `config` settings.
  #
