Making sure the Lexer has a string to parse in case of null or undefined source