I've been able to replicate this on both bleeding edge and v3.0.1. When an PaintElementImage is instantiated with an empty resource name, the assertion is triggered.
If you copy another image component it works fine.
FWIW I just commented out the assertion and all worked fine for me.