Labs: more fixes to gridengine class

Change-Id: Ie85f138ba16f0729c0b1ace0ef3d0244a33d7aef