Filter out unwanted environment variables

When running commands, drop locale- and restic-related environment
variables.
3 jobs for master in 2 minutes and 5 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build Src
passed #6809
build:src

00:00:19

 
  Build Pkg
passed #6810
build:pkg

00:01:12

 
  Upload
passed #6811
upload:pkg

00:00:33