Rewrite for yeoman-generator 0.17.x

Whoops, a leftover from debugging :smiley: