This patch solves a blocking issue for packaging a very large number of Ruby gems, which is that the build process assumes you are working out of a git repository.