Fix `o` command.

- Bug: Was pruning all path if ONOS_ROOT was set to a path like: ~/git/onos-next

Change-Id: I4887d78ddc1560e69daf2c270b820afad024befa
diff --git a/tools/dev/bash_profile b/tools/dev/bash_profile
index f6c427a..a863004 100644
--- a/tools/dev/bash_profile
+++ b/tools/dev/bash_profile
@@ -21,7 +21,7 @@
 # Convenience utility to warp to various ONOS source projects
 # e.g. 'o api', 'o dev', 'o'
 function o {
-    cd $(find $ONOS_ROOT/ -type d | egrep -v '.git|target|src' | \
+    cd $(find $ONOS_ROOT/ -type d | egrep -v '\.git|target|src' | \
         egrep "${1:-$ONOS_ROOT}" | head -n 1)
 }