Correct exclusion of metadata.rb

Fix for https://github.com/berkshelf/berkshelf/issues/1338
Added a wildcard test in the process.