correct usage of generator source_root
Merge pull request #3376 from timoschilling/generator_source_root

correct usage of generator source_root