Fix #1079 - bug in reset.sh (#1134)
We need $0 to evaluate as install.sh in order for check-requirements to work.