Fixes QubesOS/qubes-issues#1269
Both these scripts contain `pipefail` which is a bash option and will fail in dash