       File.rm("deps/git_repo/.fetch")
       Mix.Task.clear
       Mix.shell.flush
-      purge [A, B, C, GitRepo]
+      purge [A, B, C, GitRepo, GitRepo.Mixfile]
 
       # Update will mark the update required
       Mix.Tasks.Deps.Update.run ["git_repo"]

      assert File.read!("mix.lock") =~ last
    end
  after
    purge [GitRepo, GitRepo.Mix]
  end

  defp refresh(post_config) do

      refute_received {:mix_shell, :error, _}
    end
  after
    purge [GitRepo, GitRepo.Mixfile]
  end

  test "does not attempt to compile projects that could not be retrieved" do
