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