Based on a workaround suggested in this issue:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791526