Properly detect scala
Properly detect scala

It seems that sometimes scala outputs a bogus line ahead out the version output. Use a match instead of a split to better handle this sort of thing.

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>

chef/ohai,mattray/ohai,jaymzh/ohai,jseely/ohai,higanworks/ohai,mattray/ohai,higanworks/ohai,chef/ohai,jseely/ohai,jaymzh/ohai