Minor fix to complete if statement and deal with strange platform
Minor fix to complete if statement and deal with strange platform

cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo