Cooperative processes in complex networks with imperfections