Fix crashing when handling an unprocessable external link

Bug: 64424
Change-Id: I0186d531de019138807c2ce3d637c9d9984b9a90
Merge "Fix crashing when handling an unprocessable external link"