Fix an issue when calling theLWRP from 3rd party cookbooks