Well, we do not want to wrap existing functionality in custom functions for reasons stated a couple of times before.

The question would be why the variable is not defined in your system. The only answer I could imagine is that your packages are not up-to-date. If that is the case you should update them to the latest version and the package which makes use of that variable should state a specific minimum version for its dependencies.