Rather than using a #ref, we can probably start from checking if the url has no path, then use a more lenient picking algorithm that will return "best we can do" icon for the origin.
Bug 1664001 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Rather than using a #ref, we can probably start from checking if the url has no path, then use a more lenient picking algorithm that will return "best we have" icon for the origin. We can use frecency.