MASTER REPURCHASE AGREEMENT Dated as of May 24, 2012 Among: CITIBANK, N.A., as Buyer, and PENNYMAC CORP., as Seller, and PENNYMAC LOAN SERVICES, LLC, as Servicer