his name was not peter wright , nor was he from the foreign office ; that was an in joke based on the fact that an ex employee called peter wright had almost ended mi5s secret existence by publishing his notorious book spycatcher .