changes to prepserver commands and unset GIT_DIR to make sure mrt update command always works