It's a common thing for IT departments or people making enterprise images to put in because they think it makes it safer.
I feel it does more harm than good by normalising rm -f when you want to recursively delete a folder, but with CD deployments these days it's less of a deal.