Update GH_Exporter.rb

Was causing trouble for exporting materials after purging unused materials