Bug 916132 - Fix production.rb for scope loading

[merge]