Fix couchdblookup on puppet3