Fix path comparison in chart_version_check.sh

Change-Id: Ife92d29b26c03923e38c7ecc3d24b9c380d666e0
diff --git a/chart_version_check.sh b/chart_version_check.sh
index cca7874..66bdc83 100755
--- a/chart_version_check.sh
+++ b/chart_version_check.sh
@@ -74,7 +74,7 @@
 # loop on result of 'find -name Chart.yaml'
 while IFS= read -r -d '' chart
 do
-  chartdir=$(dirname "${chart#./}")
+  chartdir=$(dirname "${chart#${WORKSPACE}/}")
   chart_changed_files=""
   version_updated=0