Fix if condition if LVs haven't been restored yet
@@ -1476,7 +1476,7 @@ def daemon_encrypt():
logger=logger,
encryption_environment=encryption_environment)
elif ((distro_name == 'centos' and distro_version == '7.3.1611') and
- (disk_util.is_os_disk_lvm())):
+ (disk_util.is_os_disk_lvm() or os.path.exists('/dev/mapper/osencrypt'))):
from oscrypto.rhel_72_lvm import RHEL72LVMEncryptionStateMachine
os_encryption = RHEL72LVMEncryptionStateMachine(hutil=hutil,
distro_patcher=DistroPatcher,
