I think this should be checked for being empty or whitespace only as well, since such an error could happen easily during configuration, i.e while copying the string from the configuration and then accidently pressing delete without noticing.