Don't call methods on an undefined string.