If he knew that he would realise the machine.....
....should be destroyed in the future, why didnt he destroy it back then when he 'saw' this through the lens? There would have been no reason then, to tamper with the envelope and put the keycard in there too.???
(I guess there would have been a very short movie too!)