Remove local file paths for gems.