pre-commit: Make astyle step optional

You check the env here, too? You did that on line 38 already.