Only exclude top-level metadata.rb file while vendoring

This should fix issue #1344.
I think we could just as easily say "*/metadata.rb" here instead of "**/metadata.rb"