It would not have been a straw purchase. However, I would advise never to do business with anyone you have reason to believe is an ATF agent or narc, no matter what the circumstances.
+1000! While I too would not have done it, it's important that everyone read up on what IS and what is NOT a straw purchase. Ignorance of the law and all...