AMENDMENT NUMBER SEVEN to the MASTER REPURCHASE AGREEMENT dated as of September 14, 2015 among BARCLAYS BANK PLC and PENNYMAC CORP. and PENNYMAC LOAN SERVICES, LLC and PENNYMAC MORTGAGE INVESTMENT TRUST