BUG 11423 Errors when restoring a ws with the Enterprise plugin enabled. SOLVED

Was added some validations to make the backup and the restore functions work fine when it is enabled the Enterprise plugin.