Fix IndexError in iterate_units when no translation subprojects are defined.
Merge pull request #598 from dtschan/rebuild_index

Fix IndexError when no translation subprojects are defined