Trying to fix the build script to work with travis
Changed behaviour if comparison done with null

Changed the behaviour to mimik the equals method. If null is passed then
the result is automatically false