Not the main reason. As always, politics really ruled with US-Columbia relations factoring in heavily (Panama was a province of Columbia early on in planning), as well as the existing US-owned Panama Railway.
Most effective way to piss of a Colombian is to call their country Columbia :-)
There was a good documentary on PBC about the canal recently, the US basically staged a coup for Panama to gain independence from Columbia and in return got their Canal Zone