Cleanup of the stubproject command to check for template directory before trying to add.