Set snippetdir field. Refs gh-194