Double check the DEPNotify script and make sure you don't have any "python" calls in there. Machines with macOS 12.3 installed do not have python installed by default anymore.
You're probably seeing the same issue that was pointed out in this post:
You should be able to change the command used to pull the username to something that doesn't require python and then the rest of the script should run just fine.
I really appreciated this piece. I often think of how much of a time suck and a mental drain diving into comment conversations can be. But sometimes it is worth it. At the end of the day, it's important to assert oneself and to attempt to have discussions about what matters to you.