Add 'git' and 'lsof' to the 'propagatedUserEnvPkgs' attribute of git-annex to
make sure those packages are included in the generated environment.

This patch partly addresses <https://github.com/NixOS/nixpkgs/issues/1725>.