AMENDMENT NUMBER TEN to the MASTER REPURCHASE AGREEMENT Dated as of June 26, 2012, by and between PENNYMAC LOAN SERVICES, LLC and