Avoid crash when string to sanitize is not set