fix incorrect `empty-docstring`

in notebook tooltip.

The else condition wasn't quite right, and would set doctsring to 'empty doctsring' even when there was a doctoring.