Fix: do not print properies if they are absent.

The previous check was wrong because the "provider.send(propery)" returns a string and was always true.