fixed issue https://github.com/globaleaks/GlobaLeaks/issues/425

@vecna: here is a patch to https://github.com/globaleaks/GlobaLeaks/issues/425

can you review it for merge in devel branch?