Amendment No. 2 to the Master Repurchase Agreement