> @esc24 missing `is not None`. Not strictly necessary, but it avoids ambiguity between an empty string and None

Good spot, that is really not the intended logic.
I will fix it.