Fix error in whitespace check

This should fix the whitespace check that has been causing problems with travis. It looks like the negation was not being applied before the `||`.