fix sanity check for octave

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>