Set stage at the beginning to be able to use it from config/deploy.rb
Merge pull request #712 from kirs/patch-6

Set stage before requiring config/deploy.rb