Fix a notebooks cache issue

Avoid to use empty notebooks cashe that generated when listNotebookWithCompletion failed.