SPropertyMenuComponentPicker crashes depending on clipboard contents

Steps to Reproduce
Choose any class containing properties that use the component picker. I chose the ChaosCacheManager which has an array of FObservedComponent with

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = “Caching”, meta = (UseComponentPicker, AllowAnyActor))

Create an empty level

Drag a ChaosCacheManager into the level

Click ‘+’ on its ObservedComponents to add an empty entry

Expand the entry

Click on the component picker shown for ‘Soft Component Ref’

It should open as expected

In Notepad (or similar) type the following:

class// path

Copy that text to the clipboard

Return to the editor and click on the component picker again. This time it should crash with a Fatal error because of the “//” in what it thinks is a class name.