Fix to get assertNotLinkVisible to work using Selenium

Using
And I should not see the link "link name"
In a feature was giving false negatives and never passing, removing a few lines of code seems to have got it to work properly. As $result should always be populated it shouldn't fail if it's set, I think.