diff --git a/cmake/make_debian_package.sh.in b/cmake/make_debian_package.sh.in
index 7f66184722d080afa9f0289bfdb30915918f8b6f..e1c02cbf98c6e9eb347a12bc198035db34bde7ef 100755
--- a/cmake/make_debian_package.sh.in
+++ b/cmake/make_debian_package.sh.in
@@ -46,7 +46,7 @@ cd debian_package
 BUILD_DIR_NAME=@PACKAGE_BASE_NAME@_@PACKAGE_FULL_LIBRARY_VERSION@
 git clone @PACKAGE_GIT_URI@ ${BUILD_DIR_NAME}
 ( cd  ${BUILD_DIR_NAME} &&\
-  git checkout /@PACKAGE_TAG_VERSION@ &&\
+  git checkout @PACKAGE_TAG_VERSION@ &&\
   rm -rf .git )
 #Debian convention: file has to end on .orig.tar.gz
 tar -czf  ${BUILD_DIR_NAME}.orig.tar.gz  ${BUILD_DIR_NAME}