Fixing lookup issues in the puppet library.