diff --git a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh
index 19b8316b22075d601a07a0811279f6600dd046db..528efbdd2f4a9a7c5becc4e8c50919ea82c2ff19 100755
--- a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh
+++ b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh
@@ -2,6 +2,9 @@
 
 set -x
 
+echo Getting CTA sources...
+( cd ~ ; git clone https://:@gitlab.cern.ch:8443/cta/CTA.git)
+
 echo Creating source rpm
 mkdir -p ~/CTA-build-srpm
 (cd ~/CTA-build-srpm && cmake -DPackageOnly:Bool=true ../CTA; make cta_srpm)
@@ -13,10 +16,6 @@ sudo yum-config-manager --add-repo=/vmBootstrap/cta-ci-xroot.repo
 sudo yum-config-manager --add-repo=/vmBootstrap/castor.repo
 sudo yum install -y yum-plugin-priorities
 
-echo Enabling CERN Only repo for oracle-instantclient
-sudo yum-config-manager --enable cernonly
-sudo yum-config-manager --enable cernonly-debug
-
 echo Installing build dependencies
 sudo yum-builddep -y ~/CTA-build-srpm/RPM/SRPMS/cta-0-0.src.rpm --enablerepo=cernonly --nogpgcheck