Update limits.pp

In our organisation, we don't need all of the functionality of the puppet common module.

This change wraps a condition around the mkdir_p call, and if common module doesn't exist, will fall back and use an exec mkdir -p instead.

I believe this change is backward compatible.