installer: Ensure cloning the packages finds sh / lzma for its filters

The smudge / clean and diff filters that we configure when cloning the
packages repository depend on lzma (and sh) to be in PATH, so make sure
the environment is set up correctly.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>