Fixed minor typo that caused template resolution error.

Also updated .gitignore to ignore generated /target/ directories