pootle_store/models.py: Fix getcompletestats() exception branch

fix "NameError: global name 'e' is not defined" bug when this exception
happens.