ocperf: fix program dir determination code
ocperf: Fix latego check