Sofia Vergara thought husband Joe Manganiello would be ‘a lot of work’