remove not

this was breaking for me using the provided shell script.  Seems like you just want to compare the urls.