def unset_if_set(name):
    if (name in os.environ):
        log('Unsetting {} for third-party build (was set to "{}").'.format(name, os.environ[name]))
        del os.environ[name]
def unset_if_set(name):
    if (name in os.environ):
        log('Unsetting {} for third-party build (was set to "{}").'.format(name, os.environ[name]))
        del os.environ[name]