Added remove extname check to allow commands to be ran via pm2
Only use ext logic if we are dealing with a node command
Merge pull request #23 from gabceb/master

Added remove extname check to allow commands to be ran via pm2