ONOS-737: regexp for grabbing OC* variables changed

Change-Id: Id5651ffb41230a39c6ed68e1605feaf3c0aa337b
diff --git a/tools/test/bin/onos-fetch-logs b/tools/test/bin/onos-fetch-logs
index a4d7ffe..4a866d6 100755
--- a/tools/test/bin/onos-fetch-logs
+++ b/tools/test/bin/onos-fetch-logs
@@ -30,7 +30,7 @@
 
 # Select the target
 if [ "${1}" = "--cell" ]; then
-    nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2)
+    nodes=$(env | sort | egrep "^OC[0-9]+" | cut -d= -f2)
 else
     nodes=${1:-$OCI}
 fi