fix nullpointer exception when loading version page
Merge pull request #459 from zanata/fix-null-pointer

fix nullpointer exception when loading version page