Fixes path to add on PYTHONPATH in generate_sample.sh

Fixes bug #1201699

Change-Id: I51aca3b05866e513cbbb3163df7e5514d99af192
Merge "Fixes path to add on PYTHONPATH in generate_sample.sh"