On the equivalence of McShane and Pettis integrability in non-separable Banach spaces