diff --git a/jenkins/common/install_common b/jenkins/common/install_common
index 2cee8628997ff5f0a42a6952d122725bd92bd15f..c9a80ca0f0c53188404dbf2cddbe7ce7f9ee4887 100755
--- a/jenkins/common/install_common
+++ b/jenkins/common/install_common
@@ -45,4 +45,5 @@ key_location=$REPOSITORY_BASE/$RELEASE/$REPOSITORY_KEY
 
 curl $key_location | apt-key add -
 
+REPOSITORY_BASE=${REPOSITORY_BASE%/}
 apt-get update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO IM osmclient openvim"