I work in an industry that frequently uses ad hoc groups to get jobs done. Bring in a dozen freelancers, assign tasks, go.
I've noticed that group dynamics play a heavy role in the success of a project. The right mix of skills and personalities can elevate everyone's talent. The whole becomes greater than the sum of the parts.
But one bad attitude can ruin the mix. The job becomes drudgery because nobody wants to be there, and things get rushed so everyone can escape. The final product bears the scars.
Facilities and technology can have the same effect. The right tools in the right space have the same uplifting effect that positive attitudes have.
When I'm hiring freelancers, personality plays as big a role as skills. I have a low tolerance for the Genius Prima Donna, as the attitude is seldom worth it. Few things are more soul-sucking than working with a jerk.
Focusing on the team improves the chances of success more than focusing on the task.