addressed issue https://github.com/globaleaks/GlobaLeaks/issues/460

@vecna / @hellais:

can you please review this patch for integration inside devel?