metadata: fix crash should grabber not be defined

Fixes #12206