Fix comparison to force with start of string, prevents 'onos' from matching 'xos-services/onos-service'

Change-Id: I82c031ba5eade899192e1ed5430d62a6b9158e52
diff --git a/chart_version_check.sh b/chart_version_check.sh
index d00cd9e..8b80446 100755
--- a/chart_version_check.sh
+++ b/chart_version_check.sh
@@ -81,7 +81,7 @@
 
   # create a list of files that were changed in the chart
   for file in $changed_files; do
-    if [[ $file =~ $chartdir ]]
+    if [[ $file =~ ^$chartdir ]]
     then
       chart_changed_files+=$'\n'
       chart_changed_files+="  ${file}"