Drop ipynbname dependency

It is slow in terminating when not actually running in a notebook. Instead use environment variable to determine the kernel.

Merge request reports

Loading