Fixes fork guessing

Fixed fork guessing pipeline using sed. The previous one chocked on html
URIs.