Improve build_tar to obtain list of files from git