Detect simple component presence

Without this commit, an empty element is not detected as present when
'should' value is :present.

This commit makes sure when the 'should' value is present and the
component exists, it will be considered :present when checked.