fix check in reset.sh
cc @snevesbarros