Fix crash when metaurl contains unsupported URI or text