[COOK-2885] - fix errors in metadata.rb