Add missing conditional around version backup.