Only load vendored code if Chef not present

Otherwise Ruby generates warnings from trying to redefine Chef classes.