This is not actually a bug but most likely a case that people did not thought about.
You can’t use the context menu to paste an extension when there are no extensions in the list, because opening the context menu actually requires for atleast one extension to exist in the list.
That applies to external events, external layouts, scenes, extension functions, behaviors, etc.