Update clonesrv6.java

Fixed if statement leading to null pointer exception.