remote-helpers: export GIT_DIR variable to helpers