Return false in case one of the values is null
Merge pull request #11043 from owncloud/test-againstNull

Return false in case the passed values are not of type string