Fixed plugin.rb to be compatible with OpsWorks chef version