Fixing ohai plugin

fixes https://github.com/easybib/issues/issues/1860