fixed index creation not working cause of dependencies for python 2.7 and missing python-path

If there is a requirement for at least python 2.6, the code should work with it.
Adding /opt/graphite/webapp to python path might be not that good idea. Any other?