pre-commit: Make astyle step optional

Er... no. You check whether the env is set and whether the variable `astyle` is one. The former one can be omitted, since `astyle` is `0` if it's not set in line 40.
I think you confuse this with line 43.