change `!true` to `unless`

Change condition to use unless instead