fixed issues related to scope.lookupvar: https://groups.google.com/forum/?fromgroups=#!topic/puppet-bugs/BccFLcRAAlg
fixed addtional scope.lookupvar bug