Bugfix to make plugin init.rb work in Redmine 2.x