MASTER REPURCHASE AGREEMENT Between: ROYAL BANK OF CANADA, as Buyer and PENNYMAC LOAN SERVICES, LLC, as Seller