Fix bug 1024588: add exclusions for upgrade metadata in snapshot.rb