Handle some cases on encryption env errors