An exact upper bound to the maximum number of perfect matchings in cubic pseudographs