checking in searchSnippet wether it's an absolute or a relative path