Stazi was right, it was the temp sensor hidden right behind the secondary cables. (it is the grey plug that can be seen below) For furture reference this is the connector that shares the same part of the wiring harness as the EGR.

Thanks for your help.