fixed bug in import_issues

variable `index` was not defined
Merge pull request #199 from orso82/patch-1

fixed bug in import_issues