need to respect selroot === false here

fixes #1049 (some more)
Merge branch 'hotfix/remove-current-notebook'