Hide exception if requested (Bug #12160).
Existance check.
Fix regression.

The element might not yet exist while calling the constructor.