Updating ri-build to exclude .git