THIRD AMENDED AND RESTATED MASTER REPURCHASE AGREEMENT Dated as of May 13, 2002, amended and restated to and including September 7, 2006