[encryption] add defaut value to getValue() call

if the database doesn't contain any information about the recovery mode than we assume that it is disabled